<?php

class Core_Controller_Admincp_Route_Index extends Nuo_Controller_Admincp
{
	function execute($request)
	{

		Nuo::setVar('breadcrum', array(
			'links' => array(
				'admincp' => 'AdminCP',
				'admincp/system' => 'System Setting',
			),
			'title' => 'Route Setting',
			'toolbar'=>'admincp/route',
		));
		$items = Nuo::getTable('core/route') -> fetchAll();

		return  $this -> render(array('items' => $items));
	}

}
